/**
 * fileName:  FruitEfficacyBean.java
 * author:  lr
 * Company:  Cloudland Studio
 * Createdate:  2014-6-11 下午05:51:57
 *
 * All rights Reserved, Designed By cloudland Copyright(C) 2010-2011
 *   
 * Modification  History:
 *     Date           Author        Version        
 * -------------------------------------------
 * 2014-6-11          lr            1.0        
 *
 * Why & What is modified:
 * 1.0: 文件创建
 */
package org.cloudland.commercial.masterdata.handler.support;

import org.cloudland.commercial.masterdata.bean.FruitEfficacy;
import org.cloudland.commercial.masterdata.store.entity.EfficacyEntity;
import org.cloudland.commercial.masterdata.store.entity.FruitEfficacyEntity;

/**
 * <pre>
 * 水果功效领域层操作
 * 使用 java.lang.Object#toString(), 或者 {@link java.lang.Character Character} 等标签
 * </pre>
 * 
 * @ClassName FruitEfficacyBean
 * @author lr
 * @version %I%, %G%
 * @see
 * @since JDK1.6
 * 
 */
public class FruitEfficacyBean implements FruitEfficacy {

	/**
	 * fruitStructureEntity 水果功效领域实体
	 */
	private FruitEfficacyEntity fruitEfficacyEntity;
	
	/**
	 * efficacyEntity 功效信息
	 */
	private EfficacyEntity efficacyEntity;

	/**
	 * 
	 * <pre>
	 * TODO 请充分描述该构造函数的作用，及其参数的作用。
	 * </pre>
	 * 
	 * @param fruitStructureEntity
	 * @param fruitStructureWriter
	 */
	public FruitEfficacyBean(FruitEfficacyEntity fruitEfficacyRelationEntity, EfficacyEntity efficacyEntity) {
		this.fruitEfficacyEntity = fruitEfficacyRelationEntity;
		this.efficacyEntity = efficacyEntity;
	}
	
	/**
	 * @return
	 */
	public String getId() {
		return fruitEfficacyEntity.getEfficacyId();
	}
	
	/**
	 * @return
	 */
	public String getName() {
		return efficacyEntity.getName();
	}
	
	/**
	 * @param name
	 */
	public void setName(String name) {
		efficacyEntity.setName(name);
	}
	
	/**
	 * @param desc
	 */
	public void setDesc(String desc) {
		efficacyEntity.setDesc(desc);
	}
	
	/**
	 * @return
	 */
	public String getDesc() {
		return efficacyEntity.getDesc();
	}
	
	/**
	 * @return
	 */
	public Integer getWeight() {
		return fruitEfficacyEntity.getWeight();
	}
	
	/**
	 * @param weight
	 */
	public void setWeight(Integer weight) {
		fruitEfficacyEntity.setWeight(weight);
	}
	
	/**
	 * @param sort
	 */
	public void setSort(Integer sort) {
		fruitEfficacyEntity.setSort(sort);
	}
	
	/**
	 * @return
	 */
	public Integer getSort() {
		return fruitEfficacyEntity.getSort();
	}
	
	/**
	 * 
	 */
	public void submit() {
	}

}
